import React from 'react';

import {
    Cell,
    CellHeader,
    CellBody
} from 'react-weui';

//import styles
import 'weui';
import 'react-weui/lib/react-weui.min.css';
import '../app.css';
import '../icon.css';

export default class Header extends React.Component {
    render() {
        return (
            <header>
                <Cell className="header">
                    <CellHeader>
                        <i className="iconfont icon-back"></i>
                    </CellHeader>
                    <CellBody style={{textAlign:'center'}}>
                        Title
                    </CellBody>
                </Cell>
            </header>
        );
    }
};
